{% extends "base.html" %}
{% block content %}
    <div class="navbar">
        <div class="navbar-inner">
            <a class="brand" href="{{ url_for('collection_index') }}">{{ _('Collections') }}</a>
            <a href="{{ url_for('collection_create') }}" class="btn btn-primary">{{ _('Create Collection') }}</a>
        </div>
    </div>
    {% if collections %}
        <ul class="nav nav-tabs nav-stacked">
            {% for collection in collections %}
                <li><a href="{{ url_for('collection', id=collection.key.id()) }}"><strong>{{ collection.title }}</strong>&nbsp;<em>{{ collection.description }}</em></a></li>
            {% endfor %}
        </ul>
    {% else %}
        <div class="alert alert-info">
            Sorry, no collections to show here.
        </div>
    {% endif %}
{% endblock %}
